#include <reg52.h>
#ifndef UART_H
#define UART_H
typedef struct {
    char Temp[3];
    char Wet[3];
    char Longitude[8];
    char Latitude[7];
    char Altitude[10];
    char Time[7];
		char Press[6];
} WeatherData;

sbit WifiRx = P3^4;
sbit WifiTx = P3^7;
sbit GpsTX = P3^5;
sbit GpsRx = P3^6;
void UartInit4800();
void UartInit9600();
void EnableEsp8266();
void EnableGps();

extern unsigned char UART_STATUS;
extern idata WeatherData WDInfo;

#endif